This directory contains the data and code needed to replicate the results in Simmons, Joel W. "Segregated Economies in an Integrated World: The Gendered Consequences of Exchange Rate Movements in Low- and Middle-Income Countries."

# Files in the directory

The directory contains several files, which I describe here. The first is

- 00_README.txt

which is just this README file. 

Next, the file

- 01_script_master_women_exchange_replication.R

is the master replication script for the document. As proof the results can be replicated, I have compiled the script as both HTML and PDF files entitled

- 01_script_master_women_exchange_replication.html
- 01_script_master_women_exchange_replication.pdf

The main replication file calls several other scripts. One of these is 

- 02_script_make_ILO_data.R

which creates the data needed to produce the results in Table 3 of the manuscript.

Also in this directory is a Stata .do file

- 03_stata_gmm_results.do

to be used to produce the GMM results displayed in Table SI2 of the Supplemental Information. This file will have to be opened and run in Stata.

The main script also calls

- 04_political_interest_results.R

which produces the results in Table 5 of the document.

Next, are the data files used in the manuscript:

- 05_data_women_exchange_tscs_replication.csv
- 06_data_ILO_employment_sex_age_industry.csv
- 07_data_wvs_wave_6.rdata

The first of these is the main data set. The second is used to make Table 3. The last is used in Table 5. Note that the World Values Survey data in "07_data_wvs_wave_6.rdata" contains only the subset of WVS variables need for this analysis.

Lastly, the file

- replication_women_exchange.Rproj

is merely an RStudio project file.

# Notes on the computing environment
The computing environment used to produce these results:
- MacBook Air M2 processor, running macOS Ventura 13.0
- R version 4.2.2 (2022-10-31)
